.class Lcom/burstly/lib/component/networkcomponent/burstly/video/VideoFullscreen$5;
.super Ljava/lang/Object;
.source "VideoFullscreen.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/burstly/lib/component/networkcomponent/burstly/video/VideoFullscreen;->createVisitButton()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/burstly/lib/component/networkcomponent/burstly/video/VideoFullscreen;


# direct methods
.method constructor <init>(Lcom/burstly/lib/component/networkcomponent/burstly/video/VideoFullscreen;)V
    .locals 0
    .parameter

    .prologue
    .line 520
    iput-object p1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/video/VideoFullscreen$5;->this$0:Lcom/burstly/lib/component/networkcomponent/burstly/video/VideoFullscreen;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 5
    .parameter "btn"

    .prologue
    const/4 v4, 0x1

    .line 524
    iget-object v2, p0, Lcom/burstly/lib/component/networkcomponent/burstly/video/VideoFullscreen$5;->this$0:Lcom/burstly/lib/component/networkcomponent/burstly/video/VideoFullscreen;

    iget-boolean v2, v2, Lcom/burstly/lib/component/networkcomponent/burstly/video/VideoFullscreen;->mIsToolbarShowing:Z

    if-eqz v2, :cond_2

    .line 525
    iget-object v2, p0, Lcom/burstly/lib/component/networkcomponent/burstly/video/VideoFullscreen$5;->this$0:Lcom/burstly/lib/component/networkcomponent/burstly/video/VideoFullscreen;

    #getter for: Lcom/burstly/lib/component/networkcomponent/burstly/video/VideoFullscreen;->mParams:Lcom/burstly/lib/component/networkcomponent/burstly/FullscreenParams$VideoParams;
    invoke-static {v2}, Lcom/burstly/lib/component/networkcomponent/burstly/video/VideoFullscreen;->access$700(Lcom/burstly/lib/component/networkcomponent/burstly/video/VideoFullscreen;)Lcom/burstly/lib/component/networkcomponent/burstly/FullscreenParams$VideoParams;

    move-result-object v2

    invoke-virtual {v2}, Lcom/burstly/lib/component/networkcomponent/burstly/FullscreenParams$VideoParams;->getVideoComponent()Ljava/lang/ref/Reference;

    move-result-object v0

    .line 526
    .local v0, videoComponent:Ljava/lang/ref/Reference;,"Ljava/lang/ref/Reference<Lcom/burstly/lib/component/networkcomponent/burstly/video/BurstlyVideoAdaptor;>;"
    if-eqz v0, :cond_1

    invoke-virtual {v0}, Ljava/lang/ref/Reference;->get()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/burstly/lib/component/networkcomponent/burstly/video/BurstlyVideoAdaptor;

    move-object v1, v2

    .line 527
    .local v1, videoViewAdaptor:Lcom/burstly/lib/component/networkcomponent/burstly/video/BurstlyVideoAdaptor;
    :goto_0
    if-eqz v1, :cond_0

    .line 528
    invoke-virtual {v1}, Lcom/burstly/lib/component/networkcomponent/burstly/video/BurstlyVideoAdaptor;->getAdaptorListener()Lcom/burstly/lib/component/IBurstlyAdaptorListener;

    move-result-object v2

    const-string v3, "VideoInterstitial"

    invoke-interface {v2, v3, v4}, Lcom/burstly/lib/component/IBurstlyAdaptorListener;->adWasClicked(Ljava/lang/String;Z)V

    .line 529
    iget-object v2, p0, Lcom/burstly/lib/component/networkcomponent/burstly/video/VideoFullscreen$5;->this$0:Lcom/burstly/lib/component/networkcomponent/burstly/video/VideoFullscreen;

    iput-boolean v4, v2, Lcom/burstly/lib/component/networkcomponent/burstly/video/VideoFullscreen;->mVisitWasClicked:Z

    .line 534
    .end local v0           #videoComponent:Ljava/lang/ref/Reference;,"Ljava/lang/ref/Reference<Lcom/burstly/lib/component/networkcomponent/burstly/video/BurstlyVideoAdaptor;>;"
    .end local v1           #videoViewAdaptor:Lcom/burstly/lib/component/networkcomponent/burstly/video/BurstlyVideoAdaptor;
    :cond_0
    :goto_1
    return-void

    .line 526
    .restart local v0       #videoComponent:Ljava/lang/ref/Reference;,"Ljava/lang/ref/Reference<Lcom/burstly/lib/component/networkcomponent/burstly/video/BurstlyVideoAdaptor;>;"
    :cond_1
    const/4 v1, 0x0

    goto :goto_0

    .line 532
    .end local v0           #videoComponent:Ljava/lang/ref/Reference;,"Ljava/lang/ref/Reference<Lcom/burstly/lib/component/networkcomponent/burstly/video/BurstlyVideoAdaptor;>;"
    :cond_2
    iget-object v2, p0, Lcom/burstly/lib/component/networkcomponent/burstly/video/VideoFullscreen$5;->this$0:Lcom/burstly/lib/component/networkcomponent/burstly/video/VideoFullscreen;

    #calls: Lcom/burstly/lib/component/networkcomponent/burstly/video/VideoFullscreen;->showToolbar()V
    invoke-static {v2}, Lcom/burstly/lib/component/networkcomponent/burstly/video/VideoFullscreen;->access$400(Lcom/burstly/lib/component/networkcomponent/burstly/video/VideoFullscreen;)V

    goto :goto_1
.end method
